﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace Shopper
{
    public partial class rptHoaDonChiTiet : DevExpress.XtraReports.UI.XtraReport
    {
        public rptHoaDonChiTiet()
        {
            InitializeComponent();
        }

        public void DataBind()
        {
            lblMaHang.DataBindings.Add("Text", DataSource, "MaHang");
            lblTenHang.DataBindings.Add("Text", DataSource, "TenHang");
            lblSoLuong.DataBindings.Add("Text", DataSource, "SoLuong");
            lblDonGia.DataBindings.Add("Text", DataSource, "DonGia");
            lblThanhTien.DataBindings.Add("Text", DataSource, "ThanhTien");
        } 
    }
}
